#ifndef _CUBIC_H
#define _CUBIC_H

extern CTexture Textura_cub[15];

enum type_cube_def {VOID_TYPE=-1,ADMINIUM=0,TREE=1,EXPER=-2};

const type_cube_def tree=TREE,
	   			    adminium=ADMINIUM,
					exper=EXPER,
					void_type=VOID_TYPE;

class CCubic{
public:
	CCubic();
	CCubic(CTexture* P_ptextur);
	~CCubic();
	int Draw(float x, float y, float z, float dlin, float dlin_x, float dlin_y, float dlin_z);
	int Draw(CVector3 P_Pos, float dlin, CVector3 P_stor);
	UINT  returnidtext();
private:
	CTexture* ptextura_cub;
};

int Load_cub_textur(int Alpha_kanal);

#endif